const arrList = [1, 2, 3, 4, 5]

arrList.forEach(item => {
  console.log(item)
})

for (let i = arrList.length; i; i--) {
  console.log(arrList[i])
}

for (let i in arrList) {
  console.log(arrList[i])
}